package com.example.software.dao;

import com.example.software.entity.AdminEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 
 * 
 * @author wxy
 * @email wxy9496099@163.com
 * @date 2024-10-28 10:54:38
 */
@Mapper
public interface AdminDao extends BaseMapper<AdminEntity> {


    @Select("select * from admin where username = #{username}")
    AdminEntity getByUsername(String username);
}
